package com.msu.nava.modle;

public class Medicine {
  private int medicineId;
  private String medicineName;
  private Float price;

  private String effect;
  private String composition;

  public Medicine() {
  }

  /**
   * 新建药物
   *
   * @param medicineName
   * @param price
   * @param effect
   * @param composition
   */
  public Medicine(String medicineName, Float price, String effect, String composition) {
    this.medicineName = medicineName;
    this.price = price;
    this.effect = effect;
    this.composition = composition;
  }

  public String getComposition() {
    return composition;
  }

  public String getEffect() {
    return effect;
  }

  public void setComposition(String composition) {
    this.composition = composition;
  }

  public void setEffect(String effect) {
    this.effect = effect;
  }

  public int getMedicineId() {
    return medicineId;
  }

  public void setMedicineId(int medicineId) {
    this.medicineId = medicineId;
  }

  public String getMedicineName() {
    return medicineName;
  }

  public void setMedicineName(String medicineName) {
    this.medicineName = medicineName;
  }

  public Float getPrice() {
    return price;
  }

  public void setPrice(Float price) {
    this.price = price;
  }
}
